package com.b2bpsssm.service;

import com.b2bpsssm.common.R;
import com.b2bpsssm.pojo.PurchasePassOrder;

public interface PaymentOrderService {
    /**
     * 查询 带分页
     * @param currentPage
     * @param pageSize
     * @return
     */
    R queryPaymentOrderList(Integer currentPage, Integer pageSize);


    /**
     * 根据单据编号查询
     * @param document_no
     * @return
     */
    R queryPaymentOrderByNumber(String document_no);


    /**
     * 根福供货方查询
     * @param supplier
     * @return
     */
    R queryPaymentOrderBySupplier(Integer currentPage, Integer pageSize, String supplier);

    /**
     * 以供货方关键字 时间范围 进行关键字查询
     * @param currentPage
     * @param pageSize
     * @param sub_date1
     * @param sub_date2
     * @param supplier
     * @return
     */
   R selPaymentOrderLikeSupplier(Integer currentPage, Integer pageSize, String sub_date1, String sub_date2, String supplier);


    /**
     * 新增付款单
     * @param purchasePassOrder
     * @return
     */
    R addPaymentOrder(PurchasePassOrder purchasePassOrder);


}
